<?php
defined('BASEPATH') OR exit('No direct script access allowed');
/* 
	系统配置
*/
$config['site_name'] = '';

/* 
	url 配置
*/
$protocol = (!empty($_SERVER['HTTPS']) && $_SERVER['HTTPS'] !== 'off' || $_SERVER['SERVER_PORT'] == 443) ? 'https://' : 'http://';

$config['url_root'] = rtrim($protocol.$_SERVER['HTTP_HOST'], '/');

// 资源文件地址
$config['url_assets'] = $config['url_root'].'/assets';